<template>
	<view>
		{{ base.isVuex }}
		<u-button @click="changeIsVuex">changeIsVuex</u-button>
	</view>
</template>

<script>
	import { mapState, mapActions } from 'vuex'
	export default {
		data () {
			return {
				
			}
		},
		computed: {
			...mapState(['base'])
		},
		onLoad() {
			console.log(this.base)
		},
		methods: {
			...mapActions([
				'ACT_ISVUEX'
			]),
			changeIsVuex () {
				let _val = !this.base.isVuex
				this.ACT_ISVUEX(_val)
			}
		}
	}
</script>